Updated on 2023-03-07 GMT+08:00

Overview

OSCCA-published cryptographic algorithms are cryptographic technologies and products used for the encryption or authentication of information that does not involve state secrets.

OSCCA-published cryptographic algorithms are independent and controllable algorithms developed by the State Cryptography Administration. They can improve the encryption strength and encryption and decryption performance. OSCCA-published cryptographic algorithms meet the requirements of government agencies, public institutions, large state-owned enterprises, financial banks, and other industries for localized modernization.

BCS provides the OSCCA-published cryptographic algorithm SDKs for you to develop client programs while protecting your private keys.

Downloading Resources

Table 1 SDK list

Matching Hyperledger Fabric Version

Language

Link

Fabric v2.2

Go

Go to the BCS console and click Use Cases. Download Fabric_SDK_Go.

Java

Go to the BCS console and choose Interactive Walkthroughs > Use Cases. Download Fabric_SDK_Gateway_Java or Fabric_SDK_Java.

NOTE:
  • The Go version must be v1.12 or later but must be earlier than v1.16.
  • The OSCCA-published cryptographic algorithm SDKs offer all functions of common SDKs and additionally support the OSCCA-published cryptographic algorithms.
  • Fabric_SDK_Gateway_Java encapsulates some interfaces of the SDK, covering Fabric_SDK_Java and making it easier to use. Therefore, Fabric_SDK_Gateway_Java is recommended.

After decompressing the downloaded package, you will obtain the directories listed in the following table.

Directory

Description

src (Golang only)

Stores the Go SDK source code.

jar (Java only)

Stores the JAR package of the Java SDK.