本工具类提供全面的RSA加密与解密功能,适用于Java环境下的数据安全需求。包含公钥私钥生成、文件及字符串加密解密等实用方法。
设计的方法包括:DigitalSigninit getInstance SignMsgByRelativePath SignMsgByInputStream signMsgByAbsolutePath verifyMsgByInputSteam verifyMsgByAbsolutePath verifyMsgByRelativePath encryptMsg decodeMsg getPriKeyByInputStream getPriKeyByAbsolutePath getPriKeyByRelativePath getPubKeyByInputSteam getPublicKey getPriKeysign appendMap verify。