Skip to content

Latest commit

 

History

History
53 lines (43 loc) · 1.28 KB

java_string_hash.md

File metadata and controls

53 lines (43 loc) · 1.28 KB
title keywords summary permalink folder references authors current_reviews last_updated tags
Java String Hashing using JDK
sample
Java based string hashing
java_string_hash.html
Java JDK
url description
Oracle JDK MessageDigest Documentation
name url
Kai Mindermann
2020-02-16
Java
hash
SHA
SHA-512

Use cases

  • Verifying if a string has been changed

Java version

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

Example Code for Java String Hashing using SHA-512, BASE64 and UTF-8 encoding

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

{% include links.html %}