Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个公钥值,我想将它存储在数据库中。我将它存储为 Blob。Java 相关的行是:
byte[] pk = ((BigInteger) Modulus ).toByteArray();
和
preparedStmt.setBytes(1, pk);
当我在工作台 GUI 中打开 MySQL DB 时,我没有将值本身视为字节。相反,我看到以下内容:
不确定这是否应该显示或缺少某些内容。