68 lines
1.8 KiB
Markdown
68 lines
1.8 KiB
Markdown
# <a id="CapyKit_Helpers_IEncryptionAlgorithm"></a> Interface IEncryptionAlgorithm
|
|
|
|
Namespace: [CapyKit.Helpers](CapyKit.Helpers.md)
|
|
Assembly: CapyKit.dll
|
|
|
|
```csharp
|
|
public interface IEncryptionAlgorithm
|
|
```
|
|
|
|
#### Extension Methods
|
|
|
|
[ObjectExtensions.UpdateProperties<IEncryptionAlgorithm\>\(IEncryptionAlgorithm, IEncryptionAlgorithm\)](CapyKit.Extensions.ObjectExtensions.md\#CapyKit\_Extensions\_ObjectExtensions\_UpdateProperties\_\_1\_\_\_0\_\_\_0\_),
|
|
[ObjectExtensions.UpdateProperties\(object, object\)](CapyKit.Extensions.ObjectExtensions.md\#CapyKit\_Extensions\_ObjectExtensions\_UpdateProperties\_System\_Object\_System\_Object\_)
|
|
|
|
## Properties
|
|
|
|
### <a id="CapyKit_Helpers_IEncryptionAlgorithm_AlgorithmName"></a> AlgorithmName
|
|
|
|
```csharp
|
|
string AlgorithmName { get; }
|
|
```
|
|
|
|
#### Property Value
|
|
|
|
[string](https://learn.microsoft.com/dotnet/api/system.string)
|
|
|
|
## Methods
|
|
|
|
### <a id="CapyKit_Helpers_IEncryptionAlgorithm_Decrypt__1_CapyKit_EncryptedValue___0__System_Object___"></a> Decrypt<T\>\(EncryptedValue<T\>, params object\[\]\)
|
|
|
|
```csharp
|
|
T Decrypt<T>(EncryptedValue<T> encryptedValue, params object[] args)
|
|
```
|
|
|
|
#### Parameters
|
|
|
|
`encryptedValue` [EncryptedValue](CapyKit.EncryptedValue\-1.md)<T\>
|
|
|
|
`args` [object](https://learn.microsoft.com/dotnet/api/system.object)\[\]
|
|
|
|
#### Returns
|
|
|
|
T
|
|
|
|
#### Type Parameters
|
|
|
|
`T`
|
|
|
|
### <a id="CapyKit_Helpers_IEncryptionAlgorithm_Encrypt__1_System_Object_System_Object___"></a> Encrypt<T\>\(object, params object\[\]\)
|
|
|
|
```csharp
|
|
EncryptedValue<T> Encrypt<T>(object obj, params object[] args)
|
|
```
|
|
|
|
#### Parameters
|
|
|
|
`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)
|
|
|
|
`args` [object](https://learn.microsoft.com/dotnet/api/system.object)\[\]
|
|
|
|
#### Returns
|
|
|
|
[EncryptedValue](CapyKit.EncryptedValue\-1.md)<T\>
|
|
|
|
#### Type Parameters
|
|
|
|
`T`
|
|
|