public MiniAuth(string secret) { _auth = new Authenticator(HmacEncryptor.CreateSha256(secret)); }
public void Initialize() { _encryptor = HmacEncryptor.CreateSha256("secret"); _authenticator = new Authenticator(_encryptor); }