Skip to content

Instantly share code, notes, and snippets.

@tribbloid
Created January 17, 2018 02:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tribbloid/0bed7aaf34b28ff9b1e7e3ff05aef9da to your computer and use it in GitHub Desktop.
Save tribbloid/0bed7aaf34b28ff9b1e7e3ff05aef9da to your computer and use it in GitHub Desktop.
Scala JCE Strength tester
import javax.crypto.Cipher;
val maxKeyLen = Cipher.getMaxAllowedKeyLength("AES")
println(maxKeyLen)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment