# Digital signarture to sign the transaction

**URL:** https://forum.algorand.co/t/digital-signarture-to-sign-the-transaction/9053
**Category:** General
**Created:** [March 2, 2023, 8:08am UTC](https://forum.algorand.co/t/digital-signarture-to-sign-the-transaction/9053 "2023-03-02T08:08:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![isha](https://avatars.discourse-cdn.com/v4/letter/i/22d042/32.png) [@isha](https://forum.algorand.co/u/isha)
#### Post date: [March 2, 2023, 8:08am UTC](https://forum.algorand.co/t/digital-signarture-to-sign-the-transaction/9053/1 "2023-03-02T08:08:39Z")

</div>

I check the docs and found that raw\_sign, is a method that can be used to sign a transaction.  
Is it possible to keep my private key secure maybe like a hash or something and use it to sign the trnsaction?  
Or  
Is it possible to secure my transaction my a digital signature and use a public address to read it?  
If its possible anything similar please let me know and if any link is available that would be wonderful!

---

<div class="post-metadata">

### Author: ![fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@fabrice](https://forum.algorand.co/u/fabrice)
#### Post date: [March 6, 2023, 3:27pm UTC](https://forum.algorand.co/t/digital-signarture-to-sign-the-transaction/9053/2 "2023-03-06T15:27:06Z")

</div>

> [@isha](#):
>
> Is it possible to keep my private key secure maybe like a hash or something and use it to sign the trnsaction?

You need the actual private key to sign transactions.

Key management is a very complex question and, for large production system, essentially systematically require design by experts. But you can find some initial information there: [Modern guidelines for smart contracts and smart signatures on Algorand - Algorand Developer Portal](https://developer.algorand.org/docs/get-details/dapps/smart-contracts/guidelines/#do-manage-key-carefully)

> [@isha](#):
>
> Is it possible to secure my transaction my a digital signature and use a public address to read it?

The address or public key (in case of single-signature account - the default), can be used to verified the signature of a transaction.  
It _cannot_ be used to sign a transaction, otherwise anyone would be able to spend money from your account.

---

<div class="post-metadata">

### Author: ![isha](https://avatars.discourse-cdn.com/v4/letter/i/22d042/32.png) [@isha](https://forum.algorand.co/u/isha)
#### Post date: [March 9, 2023, 4:54pm UTC](https://forum.algorand.co/t/digital-signarture-to-sign-the-transaction/9053/3 "2023-03-09T16:54:40Z")

</div>

Thanks a lot…resloves a lot of cofusion!
