Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 1.39 KB

java_string_encryption_password_based_symmetric.md

File metadata and controls

54 lines (44 loc) · 1.39 KB
title keywords summary permalink folder references authors current_reviews last_updated tags
Java Password Based String Encryption using JDK
sample
Password based string encryption in Java
java_string_encryption_password_based_symmetric.html
Java JDK
url description
Oracle JDK Cipher Documentation
name url
Kai Mindermann
2020-02-16
Java
AES
GCM
PBKDF2
Salt
AEAD

Use cases

  • Password based encryption
  • Previously shared common secret (password)

Java version

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

Example Code for Java Password Based String Encryption using AES-GCM and PBKDF2

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

{% include links.html %}