add basic function of signing library