Skip to content

Commit c4eb3b3

Browse files
committed
fix: Correct BBS signing function.
Signed-off-by: Markus Sabadello <markus@danubetech.com>
1 parent d9449e4 commit c4eb3b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/danubetech/keyformats/crypto/impl/BLS12381_G2_BBSPlus_PrivateKeySigner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public byte[] sign(byte[] content) throws GeneralSecurityException {
1919

2020
try {
2121

22-
return Bbs.sign(this.getPrivateKey().secretKey, this.getPrivateKey().publicKey, new byte[][]{content});
22+
return Bbs.blsSign(this.getPrivateKey().secretKey, this.getPrivateKey().publicKey, new byte[][]{content});
2323
} catch (GeneralSecurityException ex) {
2424

2525
throw ex;

0 commit comments

Comments
 (0)