edu.vt.middleware.crypt.pbe
Interface KeyGenerator
- All Known Implementing Classes:
- AbstractPKCSKeyGenerator, OpenSSLKeyGenerator, PBKDF1KeyGenerator, PBKDF2KeyGenerator, PKCS12KeyGenerator
public interface KeyGenerator
Generates secret keys from passwords for password-based encryption schemes.
- Version:
- $Revision: 3 $
- Author:
- Middleware Services
|
Method Summary |
byte[] |
generate(char[] password,
int size)
Generates a symmetric key from a password for use in password-based
encryption schemes. |
generate
byte[] generate(char[] password,
int size)
- Generates a symmetric key from a password for use in password-based
encryption schemes.
- Parameters:
password - Password used as basis for generated key.size - Size of generated key in bits, unless otherwise noted.
- Returns:
- Secret key bytes.
Copyright © 2003-2011 Virginia Tech. All Rights Reserved.