Documentation ¶
Overview ¶
Package el_gamal Copyright 2023 Oleg Fomenko. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Package el_gamal Copyright 2023 Oleg Fomenko. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Curve elliptic.Curve = ec.SECP256K1()
Functions ¶
Types ¶
type EncryptedMessage ¶
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
func BytesToMessage ¶
type PrivateKey ¶
func GeneratePrivateKey ¶
func GeneratePrivateKey() (*PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.