|
楼主 |
发表于 2024-2-4 17:46:30
|
显示全部楼层
广东省广州市
.版本 2
.支持库 e2ee
.支持库 spec
RSA加解密.载入公钥 (#key)
时间 = 时间_取现行时间戳 ()
' RSA.载入公钥 (“MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLgd2OAkcGVtoE3ThUREbio0EgUc/prcajMKXvkCKFCWhJYJcLkcM2DKKcSeFpD/j6Boy538YXnR6VhcuUJOhH2x71nzPjfdTcqMz7djHum0qSZA0AyCBDABUqCrfNgCiJ00Ra7GmRj+YCK1NJEuewlb40JNrRuoEUXpabUzGB8QIDAQAB”)
RSA加解密.公钥加密 (“t=” + 时间, #文本内容类型_原始内容, 输出, #文本内容类型_十六进制_小写, #RSA填充类型_PKCS1_OAEP)
调试输出 (输出)
' RSA加解密.载入公钥 (“MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLgd2OAkcGVtoE3ThUREbio0EgUc/prcajMKXvkCKFCWhJYJcLkcM2DKKcSeFpD/j6Boy538YXnR6VhcuUJOhH2x71nzPjfdTcqMz7djHum0qSZA0AyCBDABUqCrfNgCiJ00Ra7GmRj+YCK1NJEuewlb40JNrRuoEUXpabUzGB8QIDAQAB”)
RSA加解密.公钥加密 (校验_取sha256 (到字节集 (“t=” + 时间)), #文本内容类型_Base64, 输出, #文本内容类型_十六进制_小写, #RSA填充类型_PKCS1_OAEP)
调试输出 (输出)
' RSA加解密.载入公钥 (“MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLgd2OAkcGVtoE3ThUREbio0EgUc/prcajMKXvkCKFCWhJYJcLkcM2DKKcSeFpD/j6Boy538YXnR6VhcuUJOhH2x71nzPjfdTcqMz7djHum0qSZA0AyCBDABUqCrfNgCiJ00Ra7GmRj+YCK1NJEuewlb40JNrRuoEUXpabUzGB8QIDAQAB”)
RSA加解密.公钥加密 (“t=” + 时间, #文本内容类型_Base64, 输出, #文本内容类型_十六进制_小写, #RSA填充类型_PKCS1_OAEP)
调试输出 (输出)
' RSA加解密.载入公钥 (“MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLgd2OAkcGVtoE3ThUREbio0EgUc/prcajMKXvkCKFCWhJYJcLkcM2DKKcSeFpD/j6Boy538YXnR6VhcuUJOhH2x71nzPjfdTcqMz7djHum0qSZA0AyCBDABUqCrfNgCiJ00Ra7GmRj+YCK1NJEuewlb40JNrRuoEUXpabUzGB8QIDAQAB”)
RSA加解密.公钥加密 (校验_取sha256 (到字节集 (“t=” + 时间)), #文本内容类型_原始内容, 输出, #文本内容类型_十六进制_小写, #RSA填充类型_PKCS1_OAEP)
调试输出 (输出)
' RSA加解密.载入公钥 (“MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLgd2OAkcGVtoE3ThUREbio0EgUc/prcajMKXvkCKFCWhJYJcLkcM2DKKcSeFpD/j6Boy538YXnR6VhcuUJOhH2x71nzPjfdTcqMz7djHum0qSZA0AyCBDABUqCrfNgCiJ00Ra7GmRj+YCK1NJEuewlb40JNrRuoEUXpabUzGB8QIDAQAB”)
RSA加解密.公钥加密 (“t=” + 时间, #文本内容类型_十六进制_小写, 输出, #文本内容类型_十六进制_小写, #RSA填充类型_PKCS1_OAEP)
调试输出 (输出)
' RSA加解密.载入公钥 (“MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLgd2OAkcGVtoE3ThUREbio0EgUc/prcajMKXvkCKFCWhJYJcLkcM2DKKcSeFpD/j6Boy538YXnR6VhcuUJOhH2x71nzPjfdTcqMz7djHum0qSZA0AyCBDABUqCrfNgCiJ00Ra7GmRj+YCK1NJEuewlb40JNrRuoEUXpabUzGB8QIDAQAB”)
RSA加解密.公钥加密 (校验_取sha256 (到字节集 (“t=” + 时间)), #文本内容类型_原始内容, 输出, #文本内容类型_十六进制_小写, #RSA填充类型_PKCS1_OAEP)
调试输出 (输出)
试了,加密出来的不对 |
|