I have a bunch of AES 128 encrypted password values that I need a powershell/.net solution to encrypt and decrypt to replace a coldfusion app. I have the output and keyphrase of all of them.
This is the CF 6.1 code
<CFOBJECT TYPE="COM" ACTION="create" NAME="Enc" CLASS="Encryption.Aes.COM.AesCOMImplementation">
<cfset resultvalue = Enc.Encrypt("#phrasekey1#", "#inputphrase1#")>
<cfset resultvalue = Enc.Decrypt("#phrasekey#", "#inputphrase1#")>
Does anyone know what this does or any .net equivalent?
It clearly doesn't get to choose a salt or IV so I'm not sure what it's doing.
This is the CF 6.1 code
<CFOBJECT TYPE="COM" ACTION="create" NAME="Enc" CLASS="Encryption.Aes.COM.AesCOMImplementation">
<cfset resultvalue = Enc.Encrypt("#phrasekey1#", "#inputphrase1#")>
<cfset resultvalue = Enc.Decrypt("#phrasekey#", "#inputphrase1#")>
Does anyone know what this does or any .net equivalent?
It clearly doesn't get to choose a salt or IV so I'm not sure what it's doing.