asp.net - ColdFusion Encryption from .NET Membership Tables -
i have client implementing znode uses aspnet_membership table store password. table contains encrypted password, password salt , using "passwordformat" of 2. gather, "2" recoverable encrypted password.
the coldfusion server bluedragon 9 alpha. if don't know bd, no worries, coldfusion supports "should" work , have cf 10 test on well.
if know better way i'm ears. need able create user/password , store in asp membership table via coldfusion. in addition need able check user/password login.
when looking @ web.config file, znodemembershipprovider "system.web.security.sqlmembershipprovider" type.
the machinekey entry looks this: (took out 2 key values)
<machinekey decryption="aes" decryptionkey="[64 character string]" validation="sha1" validationkey="[128 character string]"/>
if try this:
encrypt('mypassword', '[64 character string]', 'aes', 'base64')
it says "specified key not valid size algorithm."
i'm not savy on encryption or .net. in advance.
i believe .net password tables use triple-des, not aes. try instead.
encrypt('mypassword', '[64 character string]', '3des', 'base64')
Comments
Post a Comment