Skip to content

Commit

Permalink
Renamed CB Blockchain Seal to Truth Enforcer (#3715)
Browse files Browse the repository at this point in the history
Co-authored-by: Nuno André Ramos De Lemos <[email protected]>
  • Loading branch information
NunoLemos101 and NunoLemos102 authored Nov 26, 2024
1 parent ca02b71 commit 6540509
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## CB Blockchain Seal Connector
With CB Blockchain Seal, you can digitally seal documents using blockchain technology. This solution allows users to verify that documents are authentic and unchanged - anywhere and anytime after applying the timestamped seal. It is fast and cost-effective. It is also a thousand times more ecological than other blockchain solutions, and no prior knowledge of blockchain is required.
## Truth Enforcer Connector
With Truth Enforcer, you can digitally seal documents using blockchain technology. This solution allows users to verify that documents are authentic and unchanged - anywhere and anytime after applying the timestamped seal. It is fast and cost-effective. It is also a thousand times more ecological than other blockchain solutions, and no prior knowledge of blockchain is required.


## Prerequisites
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"swagger": "2.0",
"info": {
"title": "CB Blockchain Seal",
"description": "With CB Blockchain Seal, you can digitally seal documents using blockchain technology. This solution allows users to verify that documents are authentic and unchanged - anywhere and anytime after applying the timestamped seal. It is fast and cost-effective. It is also a thousand times more ecological than other blockchain solutions, and no prior knowledge of blockchain is required.",
"title": "Truth Enforcer",
"description": "With Truth Enforcer, you can digitally seal documents using blockchain technology. This solution allows users to verify that documents are authentic and unchanged - anywhere and anytime after applying the timestamped seal. It is fast and cost-effective. It is also a thousand times more ecological than other blockchain solutions, and no prior knowledge of blockchain is required.",
"version": "1.0",
"contact": {
"name": "Connecting Software s.r.o. & Co. KG",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,16 @@
{
byte[] bytes = Convert.FromBase64String(base64String);

// Compute SHA256 hash
byte[] hashBytes;
using (SHA256 sha256 = SHA256.Create())
{
hashBytes = sha256.ComputeHash(bytes);
}

// Convert hash to string
StringBuilder sb = new StringBuilder();
foreach (byte b in hashBytes)
{
sb.Append(b.ToString("x2")); // Convert byte to hexadecimal format
sb.Append(b.ToString("x2"));
}
string hashString = sb.ToString();

Expand Down

0 comments on commit 6540509

Please sign in to comment.