CN110278074B - 一种用于图像加密的可视化秘密共享方法 - Google Patents

一种用于图像加密的可视化秘密共享方法 Download PDF

Info

Publication number
CN110278074B
CN110278074B CN201810216046.5A CN201810216046A CN110278074B CN 110278074 B CN110278074 B CN 110278074B CN 201810216046 A CN201810216046 A CN 201810216046A CN 110278074 B CN110278074 B CN 110278074B
Authority
CN
China
Prior art keywords
image
ilbp
sharing
satisfy
encryption
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810216046.5A
Other languages
English (en)
Other versions
CN110278074A (zh
Inventor
张问银
赵伟
张亚伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Linyi University
Original Assignee
Linyi University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Linyi University filed Critical Linyi University
Priority to CN201810216046.5A priority Critical patent/CN110278074B/zh
Publication of CN110278074A publication Critical patent/CN110278074A/zh
Application granted granted Critical
Publication of CN110278074B publication Critical patent/CN110278074B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/085Secret sharing or secret splitting, e.g. threshold schemes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Storage Device Security (AREA)
  • Facsimile Transmission Control (AREA)

Abstract

本发明涉及一种用于图像加密的可视化秘密共享方案。它充分利用了LBP的局部对比性特征,将秘密图像数据隐藏在不同的图像共享中,可以很容易地、准确地恢复秘密。通过将图像转化为LBP编码,再经过分割,可将分割后的部分交于不同的持有者以达到共享加密的效果。通过将分割后的部分结合可恢复原本图像。本方案不仅能够保证网络中的图像数据共享性,也能保证网络中的图像数据安全性,并具有较好的随机性,较低的像素扩展,较低的计算成本。

Description

一种用于图像加密的可视化秘密共享方法
技术领域
本发明涉及图像处理和信息加密技术领域,涉及一种用于图像共享加密的可视化秘密共享方法。
背景技术
随着多媒体技术的飞速发展,网络游戏、视频监控、视频会议等多媒体服务也不断涌现。这些服务通常是高度动态的,需要大量的资源来托管。云基础设施作为一种满足资源需求、提供高性价比服务的技术,越来越多的服务提供商采用云基础设施来处理多媒体服务。可视化秘密共享技术是一种共享秘密信息的方法,以避免潜在的中断和修改,包括恶意攻击和个人不适当的管理。
发明内容
本发明的目的是提供一种共享加密的方法,针对加密后的图案进行分割,已达到共享效果,通过将分割后的图案结合解密以恢复原有图案,达到秘密共享的效果,并保证安全性。为达到上述效果,针对不同图像类型提出3种方案,二进制图像的VSS方案(BVSS);灰度图像的VSS方案(GVSS);多图像的VSS方案(MIVSS),并采用如下技术。
包括以下步骤:
图像加密共享:
步骤一,通过ILBP算法对原图像进行加密,生成ILBP码;
步骤二,随机生成控制因子α和中心像素的灰度值L;
步骤三,通过控制因子α来随机生成中心像素邻域的灰度值,并使其满足ILBP的要求;
步骤四,将图像分割,分割方式可以有多种,生成多个阴影块,多个阴影块可分散给不同持有者已达成图像加密共享效果。
图像解密:
步骤一,将多个共享的阴影块组合成M×N的阴影块;
步骤二,通过ILBP算法对M×N的每个阴影块计算ILBP码,以恢复原图像。
在本发明的一种实施例中,ILBP算法为
Figure GDA0003785797960000021
其中参数P控制角空间的量子化,R控制空间分辨率。L表示中心像素的灰度,gp表示相邻像素p的灰度值,S(x)表示符号函数,
Figure GDA0003785797960000022
是邻域的平均值,控制因子α∈[0,1],灰度L∈[0,255]。
在本发明的一种实施例中,ILBP算法中阴影块灰度值必须满足以下要求:
BVSS方案中:对于图像
B={B[i,j]|B[i,j]∈[0,1],0≤i≤M-1,0≤j≤N-1},假设有2个共享块S1[i,j],S2[i,j]。当B[i,j]=1,S1[i,j]∈(0,L),S2[i,j]∈(S1[i,j]+1,L)且满足
Figure GDA0003785797960000023
当B[i,j]=0时,S1[i,j]∈(0,S1[i,j]),并保证S2[i,j]∈(0,S1[i,j])且满足
Figure GDA0003785797960000024
GVSS方案中:对于图像G,中心像素为
Figure GDA0003785797960000025
邻域像素为
Figure GDA0003785797960000026
Figure GDA0003785797960000027
保证
Figure GDA0003785797960000028
且满足
Figure GDA0003785797960000029
Figure GDA00037857979600000210
保证
Figure GDA00037857979600000211
且满足
Figure GDA00037857979600000212
MIVSS方案中:对于多个图像
Figure GDA00037857979600000213
假设有n+1个共享块,
Figure GDA00037857979600000214
其中随机生成的中心像素
Figure GDA00037857979600000215
Figure GDA00037857979600000216
时,Sk[i,j]=random(Sk-1[i,j]+1,L),且满足
Figure GDA00037857979600000217
Figure GDA00037857979600000218
时,Sk[i,j]=random(0,Sk-1[i,j]),且满足
Figure GDA00037857979600000219
和现有的图像共享方法相比,本方案有以下优点:
(1)无损的秘密重建;
(2)对图像格式没有限制;
(3)易于对齐;
(4)不需要codebook;
(5)不同大小的共享;
(6)像素的扩展计算效率高。
附图说明
图1为3×3的图像加密方案,图2为3×3的图像加密实际应用,图3为多重图像加密共享方法,图4为多重图像加密共享实际应用,图5为两幅分存图像S1,S2,图6为分存图像S1的像素值范围,图7为分存信息为0时分存图像S1的像素值范围,图8为分存信息为0时分存图像S2的像素值范围,图9为第k个分存图像对应的像素值应满足的取值条件。
具体实施方式
下面将对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明提供一种用于图像共享加密的可视化秘密共享方法包括以下步骤:
图像加密共享:
步骤一,通过ILBP算法对原图像进行加密,生成ILBP码;
步骤二,随机生成控制因子α和中心像素的灰度值L;
步骤三,通过控制因子α来随机生成中心像素邻域的灰度值,并使其满足ILBP的要求;
步骤四,将图像分割,分割方式可以有多种,生成多个阴影块,多个阴影块可分散给不同持有者已达成图像加密共享效果。
图像解密:
步骤一,将多个共享的阴影块组合成M×N的阴影块;
步骤二,通过ILBP算法对M×N的每个阴影块计算ILBP码,以恢复原图像。
进一步的以图1中3×3的灰度图像为例,包括以下步骤:
图像加密共享:
步骤一,将ILBP码分布在3×3的图像块中;
步骤二,随机生成控制因子α和中心像素的灰度值L,这里α=
0.24,中心像素值为83;
步骤三,通过控制因子α来随机生成中心像素邻域的灰度值,这里为(87,40,210,68,35,96,71,180),这些值都满足ILBP中GVSS方案的要求;
步骤四,将图像分割,这里以横向分割,分成3的共享块,Sharel,Share2,Share3,但分割方式不限于这一种。
图像解密:
步骤一,将3个共享的阴影块Sharel,Share2,Share3组合成3×3的阴影块;
步骤二,通过ILBP算法对3×3的每个阴影块逆运算ILBP码,以恢复原图像。
进一步的结合图像2实例对图像解密进行详细说明:
在图像2所示实例中,随机生成的a=0.15。其中(a)为原图像Barbara;(e)中将a图像分成3个共享阴影块;(b)为解密后恢复的图像。(c)为原图像Lena;(f)中将c图像分成3个共享阴影块,(d)为解密后恢复的图像。
本发明可以应用于不同格式或不同灰度的图像,以实现视觉密码学。所提出的方法具有很多优点,包括无损的秘密重构,不局限于图像格式,易于对齐等。基于不同的ILBP扩展或变体,设计了多种VSS方案来共享秘密或隐藏信息。实验结果表明,该方法与传统的图像共享方法相比是有效的。它提供了更好的共享灵活性和低计算复杂度。

Claims (1)

1.一种用于图像共享加密的可视化秘密共享方法,其特征在于以下步骤:
图像加密共享:
步骤一,通过ILBP算法对原图像进行加密,生成ILBP码;
步骤二,随机生成控制因子α和中心像素的灰度值L;
步骤三,通过控制因子α来随机生成中心像素邻域的灰度值,并使其满足ILBP的要求;具体为:
BVSS方案中:对于图像
B={B[i,j]|B[i,j]∈[0,1],0≤i≤M-1,0≤j≤N-1},假设有2个共享块S1[i,j],S2[i,j];当B[i,j]=1,S1[i,j]∈(0,L),S2[i,j]∈(S1[i,j]+1,L)且满足
Figure FDA0003886616860000011
当B[i,j]=0时,S1[i,j]∈(0,S1[i,j]),并保证S2[i,j]∈(0,S1[i,j]),且满足
Figure FDA0003886616860000012
GVSS方案中:对于图像G,中心像素为
Figure FDA0003886616860000013
邻域像素为
Figure FDA0003886616860000014
Figure FDA0003886616860000015
保证
Figure FDA0003886616860000016
且满足
Figure FDA0003886616860000017
Figure FDA0003886616860000018
保证
Figure FDA0003886616860000019
且满足
Figure FDA00038866168600000110
MIVSS方案中:对于多个图像
Figure FDA00038866168600000111
假设有n+1个共享块,
Figure FDA00038866168600000112
其中随机生成的中心像素
Figure FDA00038866168600000113
Figure FDA00038866168600000114
时,Sk[i,j]=random(Sk-1[i,j]+1,L),且满足
Figure FDA00038866168600000115
Figure FDA00038866168600000116
时,Sk[i,j]=random(0,Sk-1[i,j]),且满足
Figure FDA00038866168600000117
步骤四,将图像分割,生成多个阴影块,多个阴影块可分散给不同持有者已达成图像加密共享效果;
图像解密:
步骤一,将多个共享的阴影块组合成M×N的阴影块;
步骤二,通过ILBP算法对M×N的每个阴影块计算ILBP码,以恢复原图像;
所述ILBP算法为
Figure FDA00038866168600000118
其中,其中参数P控制角空间的量子化,R控制空间分辨率,L表示中心像素的灰度,gp表示相邻像素p的灰度值,S(x)表示符号函数,
Figure FDA0003886616860000021
是邻域的平均值,控制因子α∈[0,1],灰度L∈[0,255]。
CN201810216046.5A 2018-03-16 2018-03-16 一种用于图像加密的可视化秘密共享方法 Active CN110278074B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810216046.5A CN110278074B (zh) 2018-03-16 2018-03-16 一种用于图像加密的可视化秘密共享方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810216046.5A CN110278074B (zh) 2018-03-16 2018-03-16 一种用于图像加密的可视化秘密共享方法

Publications (2)

Publication Number Publication Date
CN110278074A CN110278074A (zh) 2019-09-24
CN110278074B true CN110278074B (zh) 2022-11-11

Family

ID=67957712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810216046.5A Active CN110278074B (zh) 2018-03-16 2018-03-16 一种用于图像加密的可视化秘密共享方法

Country Status (1)

Country Link
CN (1) CN110278074B (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189595A (zh) * 2021-11-19 2022-03-15 临沂大学 一种基于联盟链的图像秘密共享方法

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142129A (zh) * 2011-03-09 2011-08-03 西安理工大学 一种基于视觉秘密共享的图像内容篡改检测方法
CN102426690A (zh) * 2011-07-30 2012-04-25 成都信息工程学院 一种数字图像秘密分享及恢复方法
CN103152556A (zh) * 2013-03-15 2013-06-12 云南大学 一种用于隐私保护的监控视频加密方法
CN103226802A (zh) * 2013-03-26 2013-07-31 中南大学 基于混沌加密的医学图像共享方法
US9514321B2 (en) * 2013-05-02 2016-12-06 Samsung Electronics Co., Ltd. Electro device for protecting user's privacy and method for controlling thereof
CN106203047A (zh) * 2016-07-08 2016-12-07 钟林超 一种具有身份验证功能的移动存储设备
US9692594B2 (en) * 2014-10-27 2017-06-27 Panasonic Intellectual Property Corporation Of America Encryption method, encryptor, and encryption system for encrypting electronic data by splitting electronic data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142129A (zh) * 2011-03-09 2011-08-03 西安理工大学 一种基于视觉秘密共享的图像内容篡改检测方法
CN102426690A (zh) * 2011-07-30 2012-04-25 成都信息工程学院 一种数字图像秘密分享及恢复方法
CN103152556A (zh) * 2013-03-15 2013-06-12 云南大学 一种用于隐私保护的监控视频加密方法
CN103226802A (zh) * 2013-03-26 2013-07-31 中南大学 基于混沌加密的医学图像共享方法
US9514321B2 (en) * 2013-05-02 2016-12-06 Samsung Electronics Co., Ltd. Electro device for protecting user's privacy and method for controlling thereof
US9692594B2 (en) * 2014-10-27 2017-06-27 Panasonic Intellectual Property Corporation Of America Encryption method, encryptor, and encryption system for encrypting electronic data by splitting electronic data
CN106203047A (zh) * 2016-07-08 2016-12-07 钟林超 一种具有身份验证功能的移动存储设备

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Formulation of visual secret sharing schemes encrypting multiple images";Manami Sasaki et al;《2014 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)》;20140509;全文 *
"秘密共享技术及其在图像加密中的应用";任方 等;《科学技术与工程》;20150608;第15卷(第16期);全文 *
"秘密共享理论及相关应用研究";胡春强;《中国博士学位论文全文数据库信息科技辑》;20140215;正文第6章 *

Also Published As

Publication number Publication date
CN110278074A (zh) 2019-09-24

Similar Documents

Publication Publication Date Title
Zhang et al. Chaos-based partial encryption of SPIHT coded color images
Bansod et al. Modified BPCS steganography using Hybrid cryptography for improving data embedding capacity
WO2014075469A1 (zh) 一种信息隐藏方法及装置
Yi et al. Parametric reversible data hiding in encrypted images using adaptive bit-level data embedding and checkerboard based prediction
Anushiadevi et al. Separable reversible data hiding in an encrypted image using the adjacency pixel difference histogram
Das et al. An image secret sharing technique with block based image coding
Hosny et al. Fast colored video encryption using block scrambling and multi-key generation
CN105975869A (zh) 基于显著性区域的自适应选择加密方法
Ye et al. Research on reversible image steganography of encrypted image based on image interpolation and difference histogram shift
Zhang et al. A privacy protection framework for medical image security without key dependency based on visual cryptography and trusted computing
CN110278074B (zh) 一种用于图像加密的可视化秘密共享方法
Roselinkiruba et al. Secure video steganography using key frame and region selection technique
Srividhya et al. Implementation of TiOISSS with meaningful shadows and with an additional authentication image
CN114782563B (zh) 一种针对jpeg图像的秘密图像分享方法和***
Banupriya et al. Video steganography using LSB algorithm for security application
Mohammed et al. LSB based image steganography using McEliece cryptosystem
Deshmukh et al. Multi-share crypt-stego authentication system
Van Rensburg et al. 3D object watermarking from data hiding in the homomorphic encrypted domain
Zhang et al. Modular‐based secret image sharing in Internet of Things: A global progressive‐enabled approach
CN114189595A (zh) 一种基于联盟链的图像秘密共享方法
Kukreja et al. A secure reversible data hiding scheme for digital images using random grid visual secret sharing
Samee et al. Adaptive interpolation and segmentation based reversible image watermarking
Kumar et al. A survey on visual cryptography techniques
Pan et al. Novel visual secret sharing scheme for the QR code with meaningful shares
Lee et al. Steganographic access control in data hiding using run‐length encoding and modulo‐operations

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant