{"id":71,"date":"2014-07-01T12:52:14","date_gmt":"2014-07-01T16:52:14","guid":{"rendered":"http:\/\/salzlechner.com\/dev\/?p=71"},"modified":"2016-03-11T07:18:42","modified_gmt":"2016-03-11T12:18:42","slug":"encrypt-string-using-chilkat","status":"publish","type":"post","link":"http:\/\/salzlechner.com\/dev\/2014\/07\/01\/encrypt-string-using-chilkat\/","title":{"rendered":"Encrypt String using Chilkat"},"content":{"rendered":"<pre class=\"lang:default decode:true  \">Function DoEncryptString Global String sSource Returns String\r\n    String sEnc\r\n    Integer hoCrypt\r\n\r\n    Indicate err False\r\n    Get Create U_cComChilkatCrypt2 to hoCrypt\r\n    Send CreateComObject to hoCrypt\r\n    If (err) Function_Return \"\"\r\n\r\n    Get ComUnlockComponent of hoCrypt \"...\" to windowindex\r\n\r\n    Set ComCharset of hoCrypt to \"us-ascii\"\r\n    Set ComCryptAlgorithm of hoCrypt to \"blowfish\"\r\n    Set ComSecretKey of hoCrypt to \"secret\"\r\n\r\n    Get ComEncryptStringENC of hoCrypt (trim(sSource)) to sEnc\r\n\r\n    Send Destroy to hoCrypt\r\n\r\n    Function_Return sEnc\r\nEnd_Function<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This blog post shows how to use Chilkat in DataFlex to encrypt a string <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","ngg_post_thumbnail":0,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-71","post","type-post","status-publish","format-standard","hentry","category-dataflex"],"_links":{"self":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":2,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/71\/revisions"}],"predecessor-version":[{"id":297,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/71\/revisions\/297"}],"wp:attachment":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/media?parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/categories?post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/tags?post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}