Joe Strazzere - All Things Quality

Visit my new blog at http://strazzere.blogspot.com/


December 1, 2005 - WinTask - EncryptFile

Posted in WinTask

'

' EncryptFile

'

' Author: Joe Strazzere

'

Dim memptr as unsigned

Function EncryptFile(file$)
 EncryptFile = External("ADVAPI32.dll","EncryptFileA", file$)
EndFunction

Function DecryptFile(file$)
 DecryptFile = External("ADVAPI32.dll","DecryptFileA", file$, 0)
EndFunction

'memptr=Allocate(64)

'ret=PokeString(memptr,"c:SuppressionTest.txt",0)


ret=EncryptFile("c:JoeShareA.txt")
msgbox(ret)

'ret=DecryptFile("SuppressionTest.txt")
'msgbox(ret)


<- Last Page :: Next Page ->

About Me

A gathering place for information and ideas about Quality Assurance, Testing, and other useful topics.

Problems cannot be solved by the same level of thinking that created them. - A. Einstein

Search This Site

Translate This Site

RSS Feed

Subscribe

Twitter

@jstrazzere

Categories

Life
QA
Sports
Tools
WinTask
Work in General

What I'm Reading Now