<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Crypto :: Unofficial EVE Frontier Development Notes</title>
    <link>https://f76f6398.frontier-scetrov-live.pages.dev/develop/world-contracts/crypto/index.html</link>
    <description>The contracts/world/sources/crypto/ folder contains cryptographic utility modules used across the EVE Frontier world contracts. These modules provide signature verification and address derivation functionality essential for validating off-chain proofs on-chain.&#xA;Folder Overview File Description sig_verify.move Ed25519 signature verification and Sui address derivation for validating off-chain signed messages (e.g., location proofs). sig_verify.move Tip Use the menu on the left hand side to find the article you are looking for. You can also use search at the top to search for specific terms.</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 21 Feb 2026 12:23:00 +0000</lastBuildDate>
    <atom:link href="https://f76f6398.frontier-scetrov-live.pages.dev/develop/world-contracts/crypto/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>sig_verify.move</title>
      <link>https://f76f6398.frontier-scetrov-live.pages.dev/develop/world-contracts/crypto/sig_verify.move/index.html</link>
      <pubDate>Sat, 21 Feb 2026 12:23:00 +0000</pubDate>
      <guid>https://f76f6398.frontier-scetrov-live.pages.dev/develop/world-contracts/crypto/sig_verify.move/index.html</guid>
      <description>The sig_verify.move module provides cryptographic signature verification functionality for validating off-chain signed messages on the Sui blockchain. It supports Ed25519 digital signature verification, enabling secure authentication of messages signed by external key pairs.&#xA;1. Core Component Architecture The module is a stateless utility — it defines no structs or stored objects. Instead, it exposes pure functions for address derivation and signature verification.&#xA;flowchart LR subgraph Inputs PK[Public Key - 32 bytes] MSG[Message bytes] SIG[Signature - flag + sig + pk] ADDR[Expected Address] end subgraph sig_verify DERIVE[derive_address_from_public_key] VERIFY[verify_signature] end PK --&gt; DERIVE --&gt; DerivedAddr[Sui Address] MSG --&gt; VERIFY SIG --&gt; VERIFY ADDR --&gt; VERIFY VERIFY --&gt; Result[bool] Key Functions derive_address_from_public_key(public_key): address — Derives a Sui address from a raw Ed25519 public key by prepending the Ed25519 scheme flag (0x00) and hashing with Blake2b-256. verify_signature(message, signature, expected_address): bool — Verifies an Ed25519 signature against an expected Sui address. Handles the full Sui signature format (flag + signature bytes + public key bytes). Constants Constant Value Purpose ED25519_FLAG 0x00 Sui signature scheme flag for Ed25519 ED25519_SIG_LEN 64 Expected Ed25519 signature length ED25519_PK_LEN 32 Expected Ed25519 public key length 2. Signature Verification Flow The verify_signature function follows a strict validation pipeline:</description>
    </item>
  </channel>
</rss>