Encrypt a file using AES algorithm

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • enriquegm82
    New Member
    • Mar 2010
    • 1

    Encrypt a file using AES algorithm

    I need to build a procedure in ASP that encrypts a file using the AES algorithm, I have the AES algorithm but it asks for a buffer and a password parameters, and I need to pass a filename as parameter.

    For example: I have the file C:\Files\abc.tx t

    I need :

    Sub encrypt (filename, password)
    fileEncrypted = AESAlgorithm(fi lename, password)
    End sub

    Please help me to develop this procedure.
    It is meant to encrypt very large files.
    Thanks in advance.
Working...