完全随机一次性加密垫 [英] Perfectly random one-time pad for encryption

查看:130
本文介绍了完全随机一次性加密垫的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个一次性垫来加密一些数据(大小几KB)。我应该如何生成这个一次性垫以避免与基本随机数生成相关的所有伪随机问题,例如 rand()

$

解决方案

是否有可用的现有可信工具或库?请尝试随机.ORG 。他们有各种免费(和付费)服务,根据大气噪声生成真正的随机数(或者至少这是他们声称做的)。


I need to create a one-time pad to encrypt some data (a few KBs in size). How should I go about generating this one-time pad to avoid all of the pseudo-random problems associated with basic random number generation such as rand()?

Is there an existing, trusted tool or library I can use for this?

解决方案

Try Random.ORG. They have various free (and paid) services that generate truly random numbers based on atmospheric noise (or at least that is what they claim to do).

这篇关于完全随机一次性加密垫的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆