ps

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package ps implements the RSASSA-PSS Digital signature algorithm.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New256

func New256() sig.Algorithm

New256 returns PS256 signature algorithm.

New256 doesn't accept weak keys less than 2048 bit. If you want to use weak keys, use New256Weak instead.

func New256Weak deprecated

func New256Weak() sig.Algorithm

New256Weak is same as New256, but it accepts the weak keys.

Deprecated: Use New256 instead.

func New384

func New384() sig.Algorithm

New384 returns PS384 signature algorithm.

New384 doesn't accept weak keys less than 2048 bit. If you want to use weak keys, use New384Weak instead.

func New384Weak deprecated

func New384Weak() sig.Algorithm

New384Weak is same as New384, but it accepts the weak keys.

Deprecated: Use New384 instead.

func New512

func New512() sig.Algorithm

New512 returns PS512 signature algorithm.

New512 doesn't accept weak keys less than 2048 bit. If you want to use weak keys, use New512Weak instead.

func New512Weak deprecated

func New512Weak() sig.Algorithm

New512Weak is same as New512, but it accepts the weak keys.

Deprecated: Use New512 instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL