Brainfuck is a programming language that can be used to secure your steemit wallet password or active keys. Here is a post that I wrote long time ago about implementing a Python BF interpreter. And here are two online tools that you need to encrypt your password text strings:
- Convert Any Text to BF
- Interpret the BF Program: Verify the BF output by interpreting it, store the BF string instead and then you can (optionally) delete the password (use it at your own risk)
先来看看这一天书:
我告诉你,这是一段程序,执行后输出结果是 steemit @justyy
你是不是有点蒙?是的,这是一种只有8种字符组成的编程语言,名字叫 BrainFuck 直译为(自己看吧)
我们先来看看这8种字符是什么。假设有一个长度无限的数组,每个数组里存放的一个数字。
- 大于号: 相当于
++ptr
把数据指针往右移一格 - 小于号: 相当于
--ptr
把数据指针往左移一格 - 加号: 把指向的当前格数据值加1 相当于
++*ptr
- 减号: 把指向的当前格数据值减1相当于
--*ptr
- 英文句号:把当前数据指针指向的单元格数据按 ASCII编码数组字符 相当于
putchar(*ptr)
- 英文逗号:从键盘输入一个字符,并把值存于当前指针处,相当于
*ptr = getchar()
- 左方括号:如果指针处不为0,则执行代码直到 遇到右方括号,相当于
while (*ptr) {
- 右方括号:如果指针处为0,则代码跳到右方括号后,相当于
}
麻雀虽小,五脏具全。上面的8个字符就可以支持输入输出、循环。判断语句(IF ELSE)也可以用循环来模拟。
Hello, World!
来看看 这种脑残语言的 Hello, World! 怎么写:
大写字母A-Z的ASCII码是65到90,小写字母a-z的ASCII码是97到122。那么通过不断的调整数组里数值的值(通过加号和减号),然后分别输出不同的字符。
字符串的输出方式组合就可以千变万化。源代码的长度就可以有长有短,所以萌生出了各种来求最短脑残语言的算法。
我之前写的两个小工具可以用来加密你的STEEM帐号密码:
- 执行任意一段脑残语言
- 把一段文字翻译成脑残源代码(可以用作加密用途,比如你小金库的密码,或者你STEEM帐号的密码哈)
Originally published at https://steemit.com Thank you for reading my post, feel free to Follow, Upvote, Reply, ReSteem (repost) @justyy which motivates me to create more quality posts.
原创 https://Steemit.com 首发。感谢阅读,如有可能,欢迎Follow, Upvote, Reply, ReSteem (repost) @justyy 激励我创作更多更好的内容。
近期热贴 Recent Popular Posts
- 不会写程序也能自动点赞 - 通过 SteemVoter 添加点赞规则
- 你好秋天,英国8月份的到Hitchin看薰衣草 (Hello Autumn! Hello Lavender)
- Fen Drayton村每年举行1万米比赛
- 碎碎念第365天 (The Day 365 at SteemIt)
- 出租 SP 的一些经验之谈
- 很好用的 桌面版 Steem 钱包 - Vessel
- 节流、开源、投资
- The Trip to Prague 捷克布拉格之旅 by @justyy
- 出租些SP 当一回债主 - 怎么样把你多余的SP租出去收点利息?
- The profiler told me I wrote some useless code (An Example of Defensive Programming) 性能评估软件说我写了几行无用的代码
- 步子迈太大容易扯到蛋
有意思
不过看你文章描述,这只不过相当于文本变换
也就是说如果我拿到你加密后的文件再用在线工具啥的解一下,密码就泄漏啦
😄
有啥加密的手段吗,比如给密码设置个密码?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
https://chriszarate.github.io/supergenpass/
加密三次?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
就是这个意思,防君子不防小人,一般情况下给密码设置个密码就可以了。
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
看完都脑残了。
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
哈哈,题目好好笑
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
确实brain f****了
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
最脑残的 Hello, World 了:P
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
其实还有更脑残的。。下回再分享。
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Why would you use
brainfuck
instead of an encryption?Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
trying something for fun.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
But it doesn't give you any security
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
an extra layer won't hurt
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
看來這語言讓我腦殘了!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
虽然是简单的移位变换看的还是很头晕
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
我是基本上看不懂源代码。
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I've never heard of this. If i did, I'll probably go WTF. And the google translate is 真TMD赞👍
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Did you translate from English to Chinese or vice versa?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Mostly I think in English and then do the Chinese. Sometimes, I need help with translation.
Other times, I think in Chinese and translate to English if I want to. However, they are not exactly the same.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I will try the application. thanks
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
no problem... don't get too serious about this.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
若果我有一天從你的電腦hack到了這樣的一堆符號,我知道該怎麼辦了,嘻嘻
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
多谢提醒 我会多加密几遍的。^^
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit