SAFU

static class · namespace z3n7 · source Essentials/Safu8.cs

public static class SAFU

Entry point to secure storage. Call InitZ3n8 once (done by InitVariables) before the other methods.

Methods

Decode

public static string Decode(IZennoPosterProjectModel project, string toDecrypt)

source

Decrypts with the key of the current account (acc0) and the PIN from the cfgPin secure variable.

DecryptHWID

public static string DecryptHWID(IZennoPosterProjectModel project, string toDecrypt)

source

Decrypts with the machine-bound key. Returns an empty string for empty input.

Encode

public static string Encode(IZennoPosterProjectModel project, string toEncrypt)

source

Encrypts with the key of the current account (acc0) and the PIN from the cfgPin secure variable.

EncryptHWID

public static string EncryptHWID(IZennoPosterProjectModel project, string toEncrypt)

source

Encrypts with the machine-bound key. Returns an empty string for empty input.

HWPass

public static string HWPass(this IZennoPosterProjectModel project)

Extension method for IZennoPosterProjectModel. source

Returns the deterministic password of the current account (acc0), using the PIN from the cfgPin secure variable.

InitZ3n8

public static void InitZ3n8(IZennoPosterProjectModel project, string keyFilePath)

source

Registers Z3n8SAFU in FunctionStorage and writes the key path to the log.

Parameter Description
keyFilePath Path to the 32-byte key file.