org.springframework.security.crypto.keygen.BytesKeyGenerator |
A generator for unique byte array-based keys.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Generate a new key.
| |||||||||||
Get the length, in bytes, of keys created by this generator.
|
Generate a new key.
Get the length, in bytes, of keys created by this generator. Most unique keys are at least 8 bytes in length.