mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-25 00:26:27 +01:00
28 lines
875 B
C#
28 lines
875 B
C#
|
using Xamarin.Forms;
|
|||
|
using TINK.Model.Device;
|
|||
|
using System;
|
|||
|
|
|||
|
[assembly: Dependency(typeof(TINK.iOS.Device.IOSCipher))]
|
|||
|
namespace TINK.iOS.Device
|
|||
|
{
|
|||
|
public class IOSCipher : ICipher
|
|||
|
{
|
|||
|
/// <summary> Encrypt data.</summary>
|
|||
|
/// <param name="key">Key to encrypt data.</param>
|
|||
|
/// <param name="clear">Data to entrycpt.</param>
|
|||
|
/// <returns></returns>
|
|||
|
public byte[] Encrypt(byte[] key, byte[] clear)
|
|||
|
{
|
|||
|
throw new NotSupportedException();
|
|||
|
}
|
|||
|
|
|||
|
/// <summary> Decrypt data. </summary>
|
|||
|
/// <param name="key">Key to decrypt data with.</param>
|
|||
|
/// <param name="encrypted">Encrpyted data to decrypt.</param>
|
|||
|
/// <returns>Decrypted data.</returns>
|
|||
|
public byte[] Decrypt(byte[] key, byte[] encrypted)
|
|||
|
{
|
|||
|
throw new NotSupportedException();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|