-
Notifications
You must be signed in to change notification settings - Fork 4
/
Encrypt.cs
58 lines (52 loc) · 1.06 KB
/
Encrypt.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SIC43NT_Webserver.Utility.KeyStream
{
public class Encrypt
{
private UInt32[] r = new UInt32[3];
private UInt32[] s = new UInt32[3];
public UInt32[] R
{
get
{
return r;
}
set
{
this.r = value;
}
}
public UInt32[] S
{
get
{
return s;
}
set
{
this.s = value;
}
}
#if false
public UInt32 getR(UInt32 index)
{
return r[index];
}
public void setR(UInt32 index, UInt32 data)
{
this.r[index] = data;
}
public UInt32 getS(UInt32 index)
{
return s[index];
}
public void setS(UInt32 index, UInt32 data)
{
this.s[index] = data;
}
#endif
}
}