fn sealStr
seal for a str field; the generated code of an @encrypted field calls it. A failure is a panic.
Example:
use std.topic { sealStr, openStr }
fn main() io, db {
let b = sealStr("Payments", "card", "4111")
print(openStr("Payments", "card", b))
}Вывод
4111
pub(api) fn sealStr(name: str, field: str, v: str) -> bytesС версии. 1.0.0-beta
Параметры
| Имя | Тип |
|---|---|
name | str |
field | str |
v | str |
Возвращает
bytes
Эффекты
не объявлены (чистая, пока тело не говорит иное)
Определено в: std/topic/topic.oxl:783