+void DecryptString(void * d, const void * s, size_t length, const BLOWFISH_CTX * ctx)
+{
+size_t pos = 0;
+while (pos < length)
+ {
+ DecryptBlock(d + pos, s + pos, ctx);
+ pos += 8;
+ }
+}
+//-----------------------------------------------------------------------------
+void EncryptString(void * d, const void * s, size_t length, const BLOWFISH_CTX * ctx)
+{
+size_t pos = 0;
+while (pos < length)
+ {
+ EncryptBlock(d + pos, s + pos, ctx);
+ pos += 8;
+ }
+}
+//-----------------------------------------------------------------------------