mirror of
https://github.com/orange-cpp/omath.git
synced 2026-04-18 22:23:26 +00:00
15 lines
328 B
C++
15 lines
328 B
C++
//
|
|
// Created by orange on 24.02.2026.
|
|
//
|
|
#include "omath/containers/encrypted_variable.hpp"
|
|
#include <omath/omath.hpp>
|
|
#include <print>
|
|
int main()
|
|
{
|
|
OMATH_DEF_CRYPT_VAR(int, 64) var{5};
|
|
var.encrypt();
|
|
std::println("{}", var.value());
|
|
var.decrypt();
|
|
std::println("{}", var.value());
|
|
return var.value();
|
|
} |