Documentation
EvmYul
.
SHA256
Search
return to top
source
Imports
Init
Conform.Wheels
EvmYul.PerformIO
EvmYul.Wheels
Imported by
blobSHA256
blobSHA256
.
pythonCommandOfInput
SHA256
source
def
blobSHA256
(
d
:
String
)
:
String
Equations
blobSHA256
d
=
dbgTrace
(
toString
(
toString
"EvmYul/EllipticCurvesPy/sha256.py"
)
)
fun (
x
:
Unit
) =>
(
totallySafePerformIO
∘
IO.Process.run
)
(
blobSHA256.pythonCommandOfInput
d
)
Instances For
source
def
blobSHA256
.
pythonCommandOfInput
(
d
:
String
)
:
IO.Process.SpawnArgs
Equations
blobSHA256.pythonCommandOfInput
d
=
{
cmd
:=
"python3"
,
args
:=
#[
"EvmYul/EllipticCurvesPy/sha256.py"
,
d
]
}
Instances For
source
def
SHA256
(
d
:
ByteArray
)
:
Except
String
ByteArray
Equations
SHA256
d
=
ByteArray.ofBlob
(
blobSHA256
(
toHex
d
)
)
Instances For