Example usage for Java org.springframework.security.crypto.keygen KeyGenerators fields, constructors, methods, implement or subclass
The text is from its open source code.
BytesKeyGenerator | secureRandom(int keyLength) Create a BytesKeyGenerator that uses a SecureRandom to generate keys of a custom length. |
BytesKeyGenerator | secureRandom() Create a BytesKeyGenerator that uses a SecureRandom to generate keys of 8 bytes in length. |
StringKeyGenerator | string() Creates a StringKeyGenerator that hex-encodes SecureRandom keys of 8 bytes in length. |