Implementasi fungsi public-private key generator ( belum ditest )