botan-low
Copyright(c) 2023-2024 Apotheca Labs
(c) 2024-2025 Haskell Foundation
LicenseBSD-3-Clause
Maintainerjoris@well-typed.com, leo@apotheca.io
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageGHC2021

Botan.Low.PubKey.DSA

Description

 

Documentation

privKeyCreateDSA Source #

Arguments

:: RNG

rng: initialized PRNG

-> Int

pbits: length of the key in bits. Must be between in range (1024, 3072) and multiple of 64. Bit size of the prime p

-> Int

qbits: qbits order of the subgroup. Must be in range (160, 256) and multiple of 8

-> IO PrivKey

key: handler to the resulting key

privKeyLoadDSA Source #

Arguments

:: MP

p

-> MP

q

-> MP

g

-> MP

x

-> IO PrivKey

key

pubKeyLoadDSA Source #

Arguments

:: MP

p

-> MP

q

-> MP

g

-> MP

y

-> IO PubKey

key