import { ethers as e } from "ethers";
import t from "libsodium-wrappers";
//#region libs/shared/common/src/crypto/ecdh.ts
var n = (n, r) => t.crypto_box_seal(n, e.getBytes(r)), r = (n, r, i) => {
	let a = t.crypto_box_seal_open(n, e.getBytes(i), e.getBytes(r));
	return Buffer.from(a);
};
//#endregion
export { r as decryptBoxSeal, n as encryptBoxSeal };
