Skip to content

Instantly share code, notes, and snippets.

View rockstar-smartiee's full-sized avatar

Rajesh Jayagopi rockstar-smartiee

  • Chennai, India
  • 13:53 (UTC +05:30)
View GitHub Profile
import java.security.MessageDigest
import java.util
import javax.crypto.Cipher
import javax.crypto.spec.SecretKeySpec
import org.apache.commons.codec.binary.Base64
/**
* Sample:
* {{{
* scala> val key = "My very own, very private key here!"