| ... | @@ -114,7 +114,7 @@ pub const X25519 = struct { | ... | @@ -114,7 +114,7 @@ pub const X25519 = struct { |
| 114 | return !zerocmp(u8, out); | 114 | return !zerocmp(u8, out); |
| 115 | } | 115 | } |
| 116 | | 116 | |
| 117 | pub fn createPublicKey(public_key: []const u8, private_key: []const u8) bool { | 117 | pub fn createPublicKey(public_key: [] u8, private_key: []const u8) bool { |
| 118 | var base_point = []u8{9} ++ []u8{0} ** 31; | 118 | var base_point = []u8{9} ++ []u8{0} ** 31; |
| 119 | return create(public_key, private_key, base_point); | 119 | return create(public_key, private_key, base_point); |
| 120 | } | 120 | } |