Rust - need wasm compliant library to sign using key stored in stable memory

I am generating a private / public key pairs and storing them in stable memory.

I am trying to sign some text using a rust library so that my backend typescript code can validate it.

Currently wasm is refusing this import:

use ethers::signers::{LocalWallet, Signer};

Does anyone have any code which is wasm compliant that can sign some text in an ethereum format?

Please do not store any key pair in (stable) memory, this is not considered secure.

See the following docs in regards of integrating with ETH in a secure manner without storing any secrets in your canister.