Skip to content

Commit 9fbddeb

Browse files
committed
feat(crypto): Add documentation comments for the package
1 parent 88e5a2f commit 9fbddeb

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

crypto/cipher/cipher.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Package cipher provides cryptographic cipher configuration and base functionality.
2+
// It supports various symmetric encryption algorithms with different block modes,
3+
// padding schemes, and streaming capabilities for secure data encryption and decryption.
14
package cipher
25

36
import "crypto/cipher"

crypto/ed25519/ed25519.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Package ed25519 implements ED25519 digital signature generation and verification with streaming support.
2+
// It provides ED25519 operations using the standard ED25519 algorithm with support
3+
// for high-performance digital signatures and verification.
14
package ed25519
25

36
import (

crypto/keypair/ed25519.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Package keypair provides ED25519 key pair management functionality.
2-
// It supports key generation, formatting, parsing, and manipulation for PKCS8 format.
31
package keypair
42

53
import (

crypto/keypair/keypair.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Package keypair provides cryptographic key pair management functionality.
2+
// It supports key generation, formatting, parsing, and manipulation for various
3+
// cryptographic algorithms with different key formats.
14
package keypair
25

36
// KeyFormat represents the format of RSA keys.

crypto/rsa/rsa.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Package rsa implements RSA encryption, decryption, signing, and verification with streaming support.
2+
// It provides RSA operations using the standard RSA algorithm with support
3+
// for different key sizes and various padding schemes.
14
package rsa
25

36
import (

0 commit comments

Comments
 (0)