public class SymmetricKeyEncryptionClientDemo extends Object
| Constructor and Description |
|---|
SymmetricKeyEncryptionClientDemo() |
| Modifier and Type | Method and Description |
|---|---|
static void |
buildAndSaveSymmetricKey() |
static SecretKey |
loadSymmetricAESKey() |
static void |
main(String[] args) |
public static void buildAndSaveSymmetricKey()
throws IOException,
NoSuchAlgorithmException
IOExceptionNoSuchAlgorithmExceptionpublic static SecretKey loadSymmetricAESKey() throws IOException, NoSuchAlgorithmException, InvalidKeySpecException, InvalidKeyException
Copyright © 2023. All rights reserved.