rust ssh keygen working

This commit is contained in:
EthanShoeDev
2025-09-13 22:26:55 -04:00
parent 1b863d5560
commit 09e4b089f9

View File

@@ -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