Author Archives: apollo89

About apollo89

아폴로89 입니다.

osx pip install 시 Operation not permitted 에러 발생

error: could not create ‘/System/Library/Frameworks/Python.framework/Versions/2.7/share’: Operation not permitted 에러 발생… 원인을 찾아보니.. MacOS X El Capitan 이후 추가된 기능인 ‘시스템 무결성 보호(SIP:System Integrity Protection)’ 때문인듯 하다. 이는 시스템 파일과 폴더를 수정할 가능성을 사전에 차단해 악성 소프트웨어로부터 Mac을 보호해 주는 기능이다. … Continue reading

Posted in Python/Ruby/Perl | Leave a comment

Node.js 에서 암복호화 하기

AES 방식(Key) var key = ‘this is password key’; var input = ‘This_is_Password!’; var cipher = crypto.createCipher(‘aes192’, key); cipher.update(input, ‘utf8’, ‘base64’); var cipheredOutput = cipher.final(‘base64’); var decipher = crypto.createDecipher(‘aes192’, key); decipher.update(cipheredOutput, ‘base64’, ‘utf8’); var decipheredOutput = decipher.final(‘utf8’); console.log(‘original string: ‘ … Continue reading

Posted in node.js | Leave a comment