Avatar
Jürgen Jürgenson
Quote from Leszek Tomanek

Bumping up the question. Is there a way to calculate SHA256 value?

Not at this point. I've used online converters or if the hash is not changing in time I do it locally but not in bOS. https://emn178.github.io/online-tools/sha256.html

WINDOWS CMD SHA256 hash: echo|set /p="PASSWORD" > %TMP%/hash.txt |certutil -hashfile %TMP%/hash.txt SHA256 | findstr /v "hash"

WINDOWS PowerShell: $stringAsStream = [System.IO.MemoryStream]::new()
$writer = [System.IO.StreamWriter]::new($stringAsStream)
$writer.write("PASSWORD")
$writer.Flush()
$stringAsStream.Position = 0
Get-FileHash -InputStream $stringAsStream | Select-Object Hash

Also for Unix timestamp - I've tried different methods calculating it locally in bOS and from web but it seems they are not lasting long. There was a online open api unix calculator that worked well for me but it went down. Unix timestamp is needed in my projects too. So far i've been able to make some workarounds. But would be good if these functions were supported natively.

Avatar
Leszek Tomanek

Bumping up the question. Is there a way to calculate SHA256 value?