i can try. the file it currently resides in is Encryption.cls
it works fine called when compiled into a dll. ill try your suggestion.