summaryrefslogtreecommitdiffstats
path: root/core/ustring.h
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2016-06-23 13:57:45 -0300
committerGeorge Marques <george@gmarqu.es>2016-06-23 13:59:23 -0300
commit98b02209a438ddd4358eda58870100287c3924d1 (patch)
treece6e0d1d2aa06e7e33c7c606996adb254e4499b8 /core/ustring.h
parent60fa2b98151ae2fc87d77ef52372eec82f7754dd (diff)
downloadredot-engine-98b02209a438ddd4358eda58870100287c3924d1.tar.gz
Add sha256_buffer() function to String
Diffstat (limited to 'core/ustring.h')
-rw-r--r--core/ustring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ustring.h b/core/ustring.h
index 692cb4e37d..bb57b11d88 100644
--- a/core/ustring.h
+++ b/core/ustring.h
@@ -196,6 +196,7 @@ public:
String md5_text() const;
String sha256_text() const;
Vector<uint8_t> md5_buffer() const;
+ Vector<uint8_t> sha256_buffer() const;
inline bool empty() const { return length() == 0; }