본문 바로가기

Programming16

Android Image filter http://xjaphx.wordpress.com/learning/tutorials/ 1. GreyScale Colored By Color Scripter™ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 public static Bitmap doGreyscale(Bitmap src) { // constant factors final double GS_RED = 0.299; final double GS_GREEN = 0.587; final double GS_BLUE = 0.114; // create output bitmap Bitmap bmOut = Bitmap.createBitma.. 2013. 8. 18.
cryptography cryptography cryptography Author: seyon Date: 2002-09-26 오후 2:30:19 from '211.38.3.65' of '211.38.3.65' 1. Letters as Numbers 모든 data를 숫자로 표현할수있다 2. Why Math? symetric key cryptography는 swap, rotate, excluesive-or등의 연산으로 수학이 아니어도 가능하나 public key cryptography는 현재 수학만이 가능하다. -Metaphor circular train track와 같다. 이 트랙만을 돌수 있고, reverse는 안된다. 3. Some background -Inverse 5 * 2 = 10 10 / 2 = 5 5 * 2 = 10.. 2009. 10. 19.
pimv2 pimv2 pimv2 Author: seyon Date: 2003-12-09 오후 7:56:31 from '211.38.3.65' of '211.38.3.65' PIM-SM RFC2362 2. Overview 라우터는 downstream group member를 가지는 neighbor router들로부터 explicit Join/Prune메세지를 받는다 data packet을 forward한 router는 멀티캐스트 그룹 G를 언급하고 이들 인터페이스로부터 명시적으로 join을 받는다. 여기에 언급된 모든 라우터는 특별한 다른말이 없으면 PIM-SM을 처리할수있는것을 가정한다. DR은 active member를 가지는 각 그룹에 대해 정기적으로 RP에 Join/Prune을 보낸다. RP를 향한 path를.. 2009. 10. 19.
ipsec 정리 Read: 3 ipsec 정리 Author: 이윤수 Date: 2002-03-05 오전 11:32:47 from '211.38.3.65' of '211.38.3.65' IPSec - 무결성 (AH) : 50 - 비밀성 (ESP) : 51 AH - 전송데이터의 무결성 - 출발지 주소 인증 - antireplay ESP - data의 비밀성 - antireplay - data 무결성(확장기능) mode - 보호영역의 차이 - tunnel_mode :IP datagram 전체 / 둘중 하나라도 IPSec을 지원하지 않을때 사용 - transport_mode : IP 상위레이어를 보호 / end-to-end가 IPSec을 처리 접속형태 gw - gw (lan - lan) client - gw client - c.. 2009. 10. 16.