摘要: Result_str = "r1c1,r1c2,r1c3\nr2c1,r2c2,r2c3",Bom = unicode:characters_to_list(unicode:encoding_to_bom(utf8)),unicode:characters_to_binary(Bom++Result... 阅读全文
posted @ 2015-07-16 14:26 尾巴儿 阅读(193) 评论(0) 推荐(0)
摘要: 1 B5 = crypto:block_encrypt(des_cbc, "12345678", >, "87654321").2 %>3 crypto:block_decrypt(des_cbc, "12345678", >, B5).4 %> 阅读全文
posted @ 2015-04-25 21:40 尾巴儿 阅读(319) 评论(0) 推荐(0)
摘要: Sha_binary = crypto:hash(sha, "14292520241963008744cef58c7e0a284d06a2fcef5a61f4bee4").Hex_string = > || > >.string:to_lower(binary_to_list(Hex_string)... 阅读全文
posted @ 2015-04-17 15:23 尾巴儿 阅读(228) 评论(0) 推荐(0)