aboutsummaryrefslogtreecommitdiff
path: root/crypto-vala/src/random.vala
diff options
context:
space:
mode:
Diffstat (limited to 'crypto-vala/src/random.vala')
-rw-r--r--crypto-vala/src/random.vala5
1 files changed, 5 insertions, 0 deletions
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