| 为了从 file3.encrypted解码file1,,仅需输入: ./toplip -d file3.encrypted > file1.encrypted
 你将会被要求输入 file1的正确密码。 为了从 file3.encrypted解码file2,输入: ./toplip -d file3.encrypted > file2.encrypted
 别忘了输入 file2的正确密码。 使用多重密码保护这是我中意的另一个炫酷特性。在加密过程中我们可以为单个文件提供多重密码。这样可以保护密码免于暴力尝试。 ./toplip -c 2 file1 > file1.encrypted
 这里,-c 2代表两个不同的密码。上述命令行的示例输出将会是这样: This is toplip v1.20 (C) 2015, 2016 2 Ton Digital. Author: Jeff Marrison A showcase piece for the HeavyThing library. Commercial support available Proudly made in Cooroy, Australia. More info: https://2ton.com.au/toplip file1 Passphrase #1: generating keys...Donefile1 Passphrase #2: generating keys...Done Encrypting...Done
 正如你在上述示例中所看到的,toplip要求我输入两个密码。请注意你必须提供两个不同的密码,而不是提供两遍同一个密码。 为了解码这个文件,这样做: $ ./toplip -c 2 -d file1.encrypted > file1.decrypted This is toplip v1.20 (C) 2015, 2016 2 Ton Digital. Author: Jeff Marrison A showcase piece for the HeavyThing library. Commercial support available Proudly made in Cooroy, Australia. More info: https://2ton.com.au/toplip file1.encrypted Passphrase #1: generating keys...Donefile1.encrypted Passphrase #2: generating keys...DoneDecrypting...Done
 将文件藏在图片中将一个文件、消息、图片或视频藏在另一个文件里的方法叫做隐写术。幸运的是 toplip默认包含这个特性。 为了将文件藏入图片中,像如下所示的样子使用 -m参数。 $ ./toplip -m image.png file1 > image1.pngThis is toplip v1.20 (C) 2015, 2016 2 Ton Digital. Author: Jeff Marrison A showcase piece for the HeavyThing library. Commercial support available Proudly made in Cooroy, Australia. More info: https://2ton.com.au/toplip file1 Passphrase #1: generating keys...Done Encrypting...Done
 这行命令将 file1的内容藏入一张叫做image1.png的图片中。 要解码,运行: $ ./toplip -d image1.png > file1.decrypted This is toplip v1.20 (C) 2015, 2016 2 Ton Digital. Author: Jeff Marrison A showcase piece for the HeavyThing library. Commercial support available Proudly made in Cooroy, Australia. More info: https://2ton.com.au/toplip image1.png Passphrase #1: generating keys...Done Decrypting...Done
 增加密码复杂度为了进一步使文件变得难以破译,我们可以像以下这样增加密码复杂度: ./toplip -c 5 -i 0x8000 -alt file1 -c 10 -i 10 file2 > file3.encrypted
 上述命令将会要求你为 file1输入十条密码,为file2输入五条密码,并将它们存入单个叫做file3.encrypted的文件。如你所注意到的,我们在这个例子中又用了另一个-i参数。这是用来指定密钥生成循环次数。这个选项覆盖了scrypt函数初始和最终 PBKDF2 阶段的默认循环次数 1。十六进制和十进制数值都是允许的。比如说0x8000、10等。请注意这会大大增加计算次数。 为了解码 file1,使用: ./toplip -c 5 -i 0x8000 -d file3.encrypted > file1.decrypted
 (编辑:南平站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |