ISAFU
interface · namespace z3n7 · source Essentials/Safu8.cs
public interface ISAFU
Encryption used by SAFU (secure storage of account secrets).
Methods
Decode
string Decode(IZennoPosterProjectModel project, string toDecrypt, string pin, string acc)
Decrypts text produced by Encode with the same machine, PIN and account.
DecodeHWID
string DecodeHWID(IZennoPosterProjectModel project, string toDecrypt)
Decrypts text produced by EncodeHWID on the same machine.
Encode
string Encode(IZennoPosterProjectModel project, string toEncrypt, string pin, string acc)
Encrypts text with a key bound to the machine, the PIN and the account.
EncodeHWID
string EncodeHWID(IZennoPosterProjectModel project, string toEncrypt)
Encrypts text with a key bound to the machine only.
HWPass
string HWPass(IZennoPosterProjectModel project, string pin, string acc)
Returns a password derived from the machine, the PIN and the account. The same inputs always give the same password.