sharee.bike-App/LastenradBayern/ShareeBike.iOS/Device/iOSCipher.cs
2024-04-09 12:53:23 +02:00

28 lines
782 B
C#

using System;
using ShareeBike.Model.Device;
using Xamarin.Forms;
[assembly: Dependency(typeof(ShareeBike.iOS.Device.IOSCipher))]
namespace ShareeBike.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();
}
}
}