⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 keyset.h

📁 HDCP Key加密程序
💻 H
字号:
// KeySet.h: interface for the CKeySet class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_KEYSET_H__3D37F241_CF83_40AB_8283_74E85CABC23E__INCLUDED_)
#define AFX_KEYSET_H__3D37F241_CF83_40AB_8283_74E85CABC23E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define KEY_SIZE 7
#define SET_SIZE 40
#define VECTOR_SIZE 8
#define KEYSET_SIZE (KEY_SIZE * SET_SIZE)
#define SHA1_SIZE 20

#define KEYSET_DATA_SIZE (VECTOR_SIZE + KEYSET_SIZE + SHA1_SIZE)

class CKeySet  
{
public:
	CKeySet();
	virtual ~CKeySet();

	BOOL Encrypt();

	unsigned char RawData[KEYSET_DATA_SIZE];
	unsigned char EncryptedData[VECTOR_SIZE+KEYSET_SIZE];
};

#endif // !defined(AFX_KEYSET_H__3D37F241_CF83_40AB_8283_74E85CABC23E__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -