Standard library / crypto/rsa
crypto/rsa.PSSSaltLengthAuto
Selects maximum possible salt when signing and automatic detection during verification. Expected stdout: '0\n'.
Formal Syntax & Structure
go syntaxgo
const PSSSaltLengthAuto = 0Working Example
Example Snippetgo
package main
import ( "crypto/rsa" "fmt")
func main() { fmt.Println(rsa.PSSSaltLengthAuto) }func must[T any](v T, e error) T { if e != nil { panic(e) } return v}func check(e error) { if e != nil { panic(e) }}