AES Encrypting a Microsoft Access Field Via VBA

Posted by Jason on Stack Overflow See other posts from Stack Overflow or by Jason
Published on 2010-06-14T15:29:22Z Indexed on 2010/06/14 15:32 UTC
Read the original article Hit count: 338

Filed under:
|
|

I need to create a Microsoft Access database, but have a need, in one of my tables, for a single field to be strongly encrypted.

Since AES requires both a key and an initialization vector, I've decided to solve this problem by requiring a password to access the database (as the key), and a field in the table to hold a SHA1 hash of the plaintext of the encrypted field.

Does anyone know where I can find VBA-compatible code to actually do the encryption?

© Stack Overflow or respective owner

Related posts about vba

Related posts about aes