Posts

Showing posts from February 20, 2019

Beitucheng station

Image
Beijing Subway interchange station Beitucheng 北土城 Location Beichen Road and West Beitucheng Road / East Beitucheng Road Chaoyang District, Beijing China Operated by Beijing Mass Transit Railway Operation Corp., Ltd Line(s)      Line 8 (North section)      Line 10 History Opened July 19, 2008 Services Preceding station   Beijing Subway   Following station Olympic Sports Center towards Zhuxinzhuang Line 8 (North section) Anhuaqiao towards National Art Museum Jiandemen towards outer loop / anticlockwise Line 10 Anzhenmen towards inner loop / clockwise Location Beitucheng Location in central Beijing Beitucheng Station (Chinese: 北土城站 ; pinyin: Běitǔchéng Zhàn ) is an interchange station on Line 8 and Line 10 of the Beijing Subway. Beitucheng is a very important station for people who want to get to the Olympic Park and Huilongguan area. Platform panor...

Is it safe to split the output of PBKDF2?

Image
Clash Royale CLAN TAG #URR8PPP 2 $begingroup$ I would like to know if splitting a key generated by PBKDF2 to derive two keys is a safe practice. Concretely, in my system, I need to derive two keys. One for symmetric cipher used in the client side, and one for authenticating the user by sending to the server. The first key is never sent to the server so that only the client knows how to decrypt ciphertexts. User enters email and password; Derive k <- pbkdf2(password: password, salt: email, alg: 'sha256', iteration: 10000, dkLen: 512) ; Split k into (k0, k1) = (k[0:255], k[256:512]) . Use k0 as client side key and send k1 to the server. My idea is that there is no risk in splitting the key in such manner because the key is a pseudo-random string. Any ideas? key-derivation pbkdf-2 share | improve this question edited Jan 30 at 21:23 Maarten Bodewes ♦ 54.8k 6 79 194 asked Jan 30 at 20:10 Sung Won Cho Sung Won Cho 125 6 $...