- 
                Notifications
    
You must be signed in to change notification settings  - Fork 3
 
Block crypto
        Bruce Wayne edited this page Oct 29, 2025 
        ·
        9 revisions
      
    IBlockCrypto crypto = AesCrypto.CreateCore(key);IBlockCrypto crypto = new SM4Crypto(key);| Property | Description | 
|---|---|
| Name | Name of the crypto | 
| BlockSize | Block size of the crypto | 
| Method | Description | 
|---|---|
void Encrypt(ReadOnlySpan<byte>, Span<byte>) | 
Encrypt a block | 
void Decrypt(ReadOnlySpan<byte>, Span<byte>) | 
Decrypt a block | 
void Dispose() | 
Releases the resources |