Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 1.35 KB

java_string_encryption_key_based_symmetric.md

File metadata and controls

54 lines (44 loc) · 1.35 KB
title keywords summary permalink folder references authors current_reviews last_updated tags
Java String Encryption with key generation using JDK
sample
String encryption in Java with key generation
java_string_encryption_key_based_symmetric.html
Java JDK
url description
Oracle JDK Cipher Documentation
name url
Kai Mindermann
2020-02-16
Java
AES
GCM
Salt
AEAD

Use cases

  • Random key generation
  • String encryption

Java version

  • openjdk8
  • oraclejdk9
  • openjdk9
  • oraclejdk11
  • openjdk11
  • oraclejdk13
  • openjdk13

Example Code for Java String Encryption with key generation using AES-GCM

{% include_relative src/main/java/com/cryptoexamples/java/ExampleStringEncryptionKeyBased.java %}

{% include links.html %}