...
Code Block |
---|
keytool -genseckey -keystore secret.jks -storetype JCEKS -alias secret -keyalg AES -keysize 192128 |
Using larger key sizes typically requires the "full-strength" JCE policy files, and seems to cause problems for some sites. Using AES-128 generates fairly reasonable sizes of data (256 bytes) and is strong enough at least for the moment.
Bean Properties
keystoreType
(string) (defaults to JCEKS)- Type of keystore.
...