The invention relates to an encryption algorithm, in particular to an audio encryption algorithm, a user authentication method using audio encryption algorithm, and an encryption identification method using user authentication method. Encryption algorithm steps: according to the user account and the current time T through SM3 algorithm to generate ciphertext array; t minutes to check the current time of T, on the 59 to take over M; 6 numbers from the beginning of the m+1 6 OTP[6] to remove the array ciphertext array; array OTP[6] will convert the decimal number OTP '; according to the formula OTP mod (9x10^4) +10^4 digital encryption password; digital encryption different frequency digital mapping into different passwords, which will be converted into digital audio encryption password encryption password. The invention of audio encryption algorithm of the high level of security, to eliminate the possibility of being cracked and theft; audio encryption password generated every minute are not the same, so the encryption has timeliness, can be applied to a variety of occasions, including intelligent Home Furnishing intelligent buildings, security systems, to achieve encryption control and permissions settings.
【技术实现步骤摘要】
一种音频加密算法和用户身份验证方法和加密识别方法
本专利技术涉及一种加密算法,特别涉及一种音频加密算法、利用音频加密算法的用户身份验证方法和利用用户身份验证方法的加密识别方法。
技术介绍
数据加密就是对原来为明文的文件或数据按某种算法进行处理,使其成为不可读的一段代码,通常称为“密文”,使其只能在输入相应的密钥之后才能显示出本来内容,通过这样的途径来达到保护数据不被非法人窃取、阅读的目的。然而,对物联网和大数据采集领域产生的大批量的实时的数据,包括数据信号与多媒体信号来说,这些数据本身的特质是实时的、高频的、阶段性使用的,普通的加密算法则由于其缺乏实效性特点而无法应用于其中。在用户身份验证领域,其需要被加密的用户身份即具有实效性特点,一旦经加密后的密文被盗取,非法者即可冒充合法者身份,使系统的安全性受到威胁。
技术实现思路
针对以上不足,本专利技术提供一种音频加密算法,能够将需要加密的信息和当前时间产生音频加密口令,每次产生的音频加密口令都不相同,即使被盗用也毫无意义。本专利技术的技术方案为:一种音频加密算法,其特征在于,加密算法的步骤为:步骤1:根据需要加密的信息和当前时间T经过SM3算法生成密文数组;步骤2:取当前时间T的分钟位t,并将t对59取余,得到m;步骤3:对密文数组取出从第m+1开始的6个数字,组成6位数组OTP[6];步骤4:将数组OTP[6]转换成十进制数OTP’;步骤5:根据公式OTP’mod(9x10^4)+10^4得到数字加密口令;步骤6:将数字加密口令中不同的数字映射成不同的频率,从而将数字加密口令转换成音频加密口令。一种利用音频加密 ...
【技术保护点】
一种音频加密算法,其特征在于,加密算法的步骤为:步骤1:根据需要加密的信息和当前时间T经过SM3算法生成密文数组;步骤2:取当前时间T的分钟位t, 并将t对59取余,得到m;步骤3:对密文数组取出从第m+1开始的6个数字,组成6位数组OTP[6];步骤4:将数组OTP[6]转换成十进制数OTP’;步骤5:根据公式 OTP’mod( 9x10^4)+10^4得到数字加密口令;步骤6:将数字加密口令中不同的数字映射成不同的频率,从而将数字加密口令转换成音频加密口令。
【技术特征摘要】
1.一种音频加密算法,其特征在于,加密算法的步骤为:步骤1:根据需要加密的信息和当前时间T经过SM3算法生成密文数组;步骤2:取当前时间T的分钟位t,并将t对59取余,得到m;步骤3:对密文数组取出从第m+1开始的6个数字,组成6位数组OTP[6];步骤4:将数组OTP[6]转换成十进制数OTP’;步骤5:根据公式OTP’mod(9x10^4)+10^4得到数字加密口令;步骤6:将数字加密口令中不同的数字映射成不同的频率,从而将数字加密口令转换成音频加密口令。2.一种利用权利要求1所述的音频加密算法的用户身份验证方法,其特征在于,将用户身份通过音频加密算法生成音频加密口令,以音频加密口令作为验证用户身份合法性的方式,具体包括以下步骤:步...
【专利技术属性】
技术研发人员:周芸,周斌,黄清,喻琴,
申请(专利权)人:上海擎云物联网股份有限公司,
类型:发明
国别省市:上海,31
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。