|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--de.bb.security.Iso9796
| Constructor Summary | |
Iso9796()
|
|
| Method Summary | |
static byte[] |
pad(byte[] in,
int inbits,
int ks)
pad an input data according to ISO9796 to fit the specified keylength |
static byte[] |
unpad(byte[] in)
unpad an input data according to ISO9796 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Iso9796()
| Method Detail |
public static byte[] pad(byte[] in,
int inbits,
int ks)
in - - input dataks - - the length of the modulopublic static byte[] unpad(byte[] in)
in - - input data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||