From 6399892bf2c53fc3701438c752718638baff8e27 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Fri, 14 May 2021 19:26:05 +0200 Subject: Move crypto-vala to shared library --- crypto-vala/src/random.vala | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 crypto-vala/src/random.vala (limited to 'crypto-vala/src/random.vala') diff --git a/crypto-vala/src/random.vala b/crypto-vala/src/random.vala new file mode 100644 index 00000000..3f5d3ba9 --- /dev/null +++ b/crypto-vala/src/random.vala @@ -0,0 +1,5 @@ +namespace Crypto { +public static void randomize(uint8[] buffer) { + GCrypt.Random.randomize(buffer); +} +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf