목록in indonesia/internship (1)
JS's IT
일주일째 매달리고 있었던 것...
이 회사 보안 담당 분이신 mr.가니스 씨에게서 몇장의 프린트물을 받았는데 몇줄 해석해 보니 crc32를 이용한 기본적인 보안 프로그램이었다.(이까지 이해하는데 몇일걸림..ㅠㅠ) 여튼 일주일째 멍 때리다..crc32에 관한 코드를 몇줄 짯다. public static long crc32file(String filename) { Checksum crc = new CRC32(); try {BufferedInputStream in = new BufferedInputStream(new FileInputStream(filename)); byte buffer[] = new byte[32768];int length = 0; while ((length = in.read(buffer)) >= 0) {crc.update(..
in indonesia/internship
2014. 10. 7. 16:58