Private Key, Public Key และการจัดการคีย์เข้ารหัสใน Network Security
หา Private Key อย่างไร?
สร้างขึ้นพร้อมกับ Certificate Signing Request (CSR) CA (เช่น DigiCert) ไม่สร้างและไม่มี Private Key ของคุณ
หา Public Key และ Private Key
คำนวณ RSA Private Key จาก Public Key, Ciphertext, Plaintext ไม่ได้ (แม้ Padding หรือ e=3) วิธีทั่วไป: Factoring Public Modulus
Private Key ใน Network Security คืออะไร?
Secret Key ใช้ Encrypt/Decrypt ข้อมูล เฉพาะผู้สร้างและผู้ที่ได้รับอนุญาตถึงจะถอดรหัสได้
Private Key Bitcoin อยู่ที่ไหน?
เก็บใน Wallet File เกี่ยวข้องกับ Bitcoin Address ทั้งหมด ต้องเก็บเป็นความลับ ปลอดภัย เพราะใช้จ่าย Bitcoin
Algorithm ใดให้ Private Key?
RSA: Key Pair (Public, Private) Public Encrypt, Private Decrypt, Digital Signature = กระบวนการย้อนกลับ Private Key รู้เฉพาะเจ้าของ Public Key ใครก็ได้
หา Private Key (ใน cPanel/Control Panel)
SSL/TLS > SSL Storage Manager > คอลัมน์ Key > คลิก Magnifying Glass > ดู Private Key Text
Private Key ใน Windows อยู่ที่ไหน?
%SystemDrive%\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys ไฟล์แต่ละไฟล์ = Key Container เปิดด้วย Notepad
กู้คืน SSL Private Key
ตรวจสอบ Private Key ว่าตรง Certificate ไหม หากหายจาก Server -> ไม่สามารถกู้คืนได้ ต้อง Reissue (CSR ใหม่ + RSA Key ใหม่)
หา Public/Private Key Pair
openssl x509 -noout -modulus -in public.crt | openssl md5 > /tmp/crt.pub openssl rsa -noout -modulus -in private.key | openssl md5 > /tmp/key.pub diff /tmp/crt.pub /tmp/key.pub
Public/Private Key ใช้ทำอะไร?
- Private Key: Encrypt/Decrypt เร็ว (Symmetric)
- Public Key: Encrypt, Private Key: Decrypt (Asymmetric) ช้ากว่า
Public Key ถอดรหัส Private Key ได้ไหม?
ไม่ได้ Public Key Encrypt -> Private Key Decrypt เท่านั้น เรียกว่า Asymmetric Encryption
Public Key และ Private Key ตัวอย่าง
| Private Key | Public Key |
|---|---|
| Confidential (2 คน) | Public Directory (ทุกคน) |
| Lost -> System Void | Public Held -> ไม่ Lost |
Public/Private Key ใน Network Security
Public Key: Encrypt Plaintext -> Ciphertext | Private Key: Decrypt Ciphertext -> Plaintext Private Key Crypto: Secret Key เดียว | Public Key Crypto: Key คู่ หนึ่ง Secret
Private Key ทำงานอย่างไร?
Owner: Encrypt/Decrypt ได้ Public Key: Encrypt ได้ทุกคน แต่ Decrypt แค่ Private Key ส่งข้อมูลปลอดภัยให้ Owner ได้
Private Key ใช้ทำอะไร?
Encrypt และ Decrypt ข้อมูล ทุกฝ่ายที่เกี่ยวข้องมี Key สื่อสาร
Private Key ประกอบด้วยอะไร?
สร้างบน Server/Tool พร้อม CSR แล้วได้ SSL Certificate (Public Key) คู่กัน Encrypt/Decrypt
เดา Bitcoin Private Key ได้ไหม?
เกือบเป็นไปไม่ได้ การเข้ารหัส Bitcoin แข็งแกร่งมาก Hardware Wallet ปลอดภัยเกือบ 100%
Claim Bitcoin Private Key
Bitcoin Settings > Preferences > Redeem Private Key > Scan QR Paper Wallet -> Funds โอนเข้า BRD App
Private Key ใน Bitcoin คืออะไร?
Sophisticated Cryptography เข้าถึง Wallet ไม่เหมือนสกุลเงินทั่วไป จำเป็นต่อ Bitcoin/Altcoins ป้องกันการขโมยและเข้าถึงไม่ได้รับอนุญาต