Home » crypto-143 » org » bouncycastle » crypto » macs »

org.bouncycastle.crypto.macs

Classes:

BlockCipherMac     code | html
CBCBlockCipherMac   standard CBC Block Cipher MAC - if no padding is specified the default of pad of zeroes is used.  code | html
CFBBlockCipherMac     code | html
CMac   CMAC - as specified at www.nuee.nagoya-u.ac.jp/labs/tiwata/omac/omac.html

CMAC is analogous to OMAC1 - see also en.wikipedia.org/wiki/CMAC

CMAC is a NIST recomendation - see csrc.nist.gov/CryptoToolkit/modes/800-38_Series_Publications/SP800-38B.pdf

CMAC/OMAC1 is a blockcipher-based message authentication code designed and analyzed by Tetsu Iwata and Kaoru Kurosawa. 

code | html
GOST28147Mac   implementation of GOST 28147-89 MAC  code | html
HMac   HMAC implementation based on RFC2104 H(K XOR opad, H(K XOR ipad, text))  code | html
ISO9797Alg3Mac   DES based CBC Block Cipher MAC according to ISO9797, algorithm 3 (ANSI X9.19 Retail MAC) This could as well be derived from CBCBlockCipherMac, but then the property mac in the base class must be changed to protected  code | html
MacCFBBlockCipher   implements a Cipher-FeedBack (CFB) mode on top of a simple cipher.  code | html
OldHMac   HMAC implementation based on RFC2104 H(K XOR opad, H(K XOR ipad, text))  code | html
VMPCMac     code | html