采用 JavaScript 、 GoLang 、 Python 、 PHP 多端实现。
可以自定义字符, 可以相互兼容,具体按照需要自行改造。
var str = encode("你好");
console.log(str);
// 呜嗷嗷嗷啊嗷嗷~啊呜~啊~呜呜嗷<?php
include('./beast.php');
$enStr = encode("你好");
echo "兽语:" . $enStr;
// 呜嗷嗷嗷啊嗷嗷~啊呜~啊~呜呜嗷enStr := encode("你好")
fmt.Print(enStr)
// 呜嗷嗷嗷啊嗷嗷~啊呜~啊~呜呜嗷print(encode("你好"))
// 呜嗷嗷嗷啊嗷嗷~啊呜~啊~呜呜嗷var str = decode("呜嗷嗷嗷啊嗷嗷~啊呜~啊~呜呜嗷");
console.log(str);
// 你好<?php
include('./beast.php');
$deStr = decode("呜嗷嗷嗷啊嗷嗷~啊呜~啊~呜呜嗷");
echo '<br>音译:' . $deStr;
// 你好deStr := decode("呜嗷嗷嗷啊嗷嗷~啊呜~啊~呜呜嗷")
fmt.Print(deStr)
// 你好 print(decode("呜嗷嗷嗷啊嗷嗷~啊呜~啊~呜呜嗷"))
// 你好 JavaScript原版
sgdrg15rdg/beast_js: https://github.com/sgdrg15rdg/beast_jsPython原版
6DDUU6/beast_python: https://github.com/6DDUU6/beast_python

