首页 | 本学科首页   官方微博 | 高级检索  
     

用字符串进行大数运算的算法设计与实现
引用本文:沈建涛. 用字符串进行大数运算的算法设计与实现[J]. 南通职业大学学报, 2011, 25(4): 93-97
作者姓名:沈建涛
作者单位:南通职业大学电子工程学院,江苏南通,226007
摘    要:在密码算法及信息安全领域中,大数运算有着广泛的应用,但一般高级语言的基本数据类型和运算符都无法直接实现大数的存储及运算。为此,文章提出利用数据库技术和字符串数据类型实现大数存储,通过对大数之间的运算规则的研究,设计了大数间的主要关键运算算法;并在算法的设计中,通过参数控制,提高了程序对运行环境的适应性。通过运算测试,验证了该算法的正确性及运算的高效性。

关 键 词:大数  数据库  字符串  算法

The Algorithm Design and Realization of the Operation of Large Numbers with String
SHEN Jian-tao. The Algorithm Design and Realization of the Operation of Large Numbers with String[J]. Journal of Nantong Vocational College, 2011, 25(4): 93-97
Authors:SHEN Jian-tao
Affiliation:SHEN Jian-tao(School of Electronic Engineering,Nantong Vocational College,Nantong 226007,China)
Abstract:The operation of large numbers is widely used in the cryptographic algorithm and information security domain. However, the master data types and operators in common high-level languages cannot fulfill the direct memory and operation. For this, this paper puts forward that the memory of large numbers is fulfilled under the help of the database technology and string of character data type, and the key operation algorithm among large numbers is designed after the research of the operational rules among large numbers. In the process of algorithm design, the programs are highly adaptable to the movement environment due to the parameter control. This test proves that the algorithm is precise and efficient in the operation test.
Keywords:large number  database  string  algorithm
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号