mirror of
https://github.com/EthanShoeDev/fressh.git
synced 2026-01-11 14:22:51 +00:00
rust ssh keygen working
This commit is contained in:
@@ -5,8 +5,9 @@ import {
|
|||||||
} from '@fressh/react-native-uniffi-russh';
|
} from '@fressh/react-native-uniffi-russh';
|
||||||
|
|
||||||
void uniffiInitAsync().then(() => {
|
void uniffiInitAsync().then(() => {
|
||||||
const testKeyPair = generateKeyPair(KeyType.Ed25519);
|
void generateKeyPair(KeyType.Ed25519).then((keyPair) => {
|
||||||
console.log('testKeyPair', testKeyPair);
|
console.log('testKeyPair', keyPair);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// // https://jhugman.github.io/uniffi-bindgen-react-native/idioms/common-types.html
|
// // https://jhugman.github.io/uniffi-bindgen-react-native/idioms/common-types.html
|
||||||
|
|||||||
Reference in New Issue
Block a user