Skip to content

Instantly share code, notes, and snippets.

@FriedEgg
FriedEgg / aes.sas
Created June 9, 2020 16:05
AES Encrpytion and Decryption functions for SAS using PROC GROOVY and Data Step Java Component Object
filename cp temp;
proc groovy classpath=cp;
submit parseonly;
import javax.crypto.spec.SecretKeySpec
import javax.crypto.spec.IvParameterSpec
import javax.crypto.Cipher
class GroovyCrypter {
def expandKey (def secret) {