Crypto


How to use the Crypto class of the bit Butil?

Usage
To use the browser crypto features you need to inject the Bit.Butil.Crypto class and use it like this:
@inject Bit.Butil.Crypto crypto

@code {
    await crypto.Encrypt(...);
}
Methods

Encrypt:
The Encrypt method of the Crypto interface that encrypts data (MDN).



Decrypt:
The Decrypt method of the Crypto interface that decrypts data (MDN).