C# Класс CodeCake.RijndaelCrypt

This is the same algorithm and configuration as https://github.com/appveyor/secure-file.
Показать файл Открыть проект

Открытые методы

Метод Описание
Decrypt ( string fileName, string outFileName, string secret ) : void

Decrypts a file into another file (that must not exist) with a given secret.

Encrypt ( string fileName, string outFileName, string secret ) : void

Encrypts a file into another file (that must not exist) with a given secret.

Приватные методы

Метод Описание
GetRijndael ( string secret ) : Rijndael

Описание методов

Decrypt() публичный статический Метод

Decrypts a file into another file (that must not exist) with a given secret.
public static Decrypt ( string fileName, string outFileName, string secret ) : void
fileName string File to decrypt.
outFileName string Target file that will be decrypted. Must not exist.
secret string Secret to use.
Результат void

Encrypt() публичный статический Метод

Encrypts a file into another file (that must not exist) with a given secret.
public static Encrypt ( string fileName, string outFileName, string secret ) : void
fileName string File to encrypt.
outFileName string Target file that will be encrypted. Must not exist.
secret string Secret to use.
Результат void